@mixin overflow_text($width:250px) {
    max-width: $width;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.user_row {
    width: 100%;
    display: flex;
    padding: 26px 30px 0 30px;
    box-sizing: border-box;

    .avatar {
        width: 56px;
        height: 56px;
        margin-right: 20px;
        border-radius: 100%;
        background-color: #ccc;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .row_right {
        flex: 1;
        display: flex;
        justify-content: space-between;
        padding-bottom: 25px;
        border-bottom: 1px solid #e3e3e3;
        box-sizing: border-box;

        .name {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            padding-top: 6px;

            .userName,
            .userId {
                display: inline-block;
                margin-right: 10px;
                font-size: 32px;
                font-weight: normal;
                font-stretch: normal;
                // line-height: 32px;
                @include overflow_text;
            }

            .userId {
                color: #999999;
            }

            .identity {
                flex: 100%;
                margin-top: 3px;
                height: 30px;

                .identity_item {
                    display: inline-block;
                    padding: 0 5px;
                    font-size: 22px;
                    font-weight: normal;
                    font-stretch: normal;
                    line-height: 30px;
                    letter-spacing: 0px;
                    color: #8088f8;
                    background-color: #f2f3ff;
                }
            }

        }

        .icon_area {
            display: flex;
            align-items: center;
            height: 100%;
            min-height: 56px;

            .right_icon {

                width: 56px;
                height: 56px;
                border-radius: 100%;
                background-color: #e3f2ff;
            }
        }



    }
}

.group_row {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 30px;
    height: 109px;
    box-sizing: border-box;

    .avatar {
        width: 56px;
        height: 56px;
        margin-right: 20px;
        border-radius: 100%;
        background-color: #ccc;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .row_right {
        flex: 1;
        display: flex;
        align-items: center;
        height: 100%;
        justify-content: space-between;
        border-bottom: 1px solid #e3e3e3;
        box-sizing: border-box;

        .name {
            display: flex;
            align-items: center;
            padding-top: 6px;

            .userName {
                display: inline-block;
                margin-right: 10px;
                font-size: 32px;
                font-weight: normal;
                font-stretch: normal;
                @include overflow_text(350px);
            }

            .count {
                display: inline-block;
                margin-right: 10px;
                font-size: 32px;
                font-weight: normal;
                font-stretch: normal;
                color: #999999;
                @include overflow_text;
            }

        }

        .more {
            position: relative;
            width: 72px;
            height: 100px;

            .forward_icon {
                position: absolute;
                top: 50%;
                right: 10px;
                transform: translateY(-50%);
                width: 12px;
                height: 21px;
            }
        }
    }
}

.chat_group_row {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 30px;
    height: 109px;
    box-sizing: border-box;

    .avatar {
        width: 56px;
        height: 56px;
        margin-right: 20px;
        border-radius: 100%;
        background-color: #ccc;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .row_right {
        flex: 1;
        display: flex;
        align-items: center;
        height: 100%;
        justify-content: space-between;
        border-bottom: 1px solid #e3e3e3;
        box-sizing: border-box;

        .name {
            display: flex;
            align-items: center;
            padding-top: 6px;

            .userName,
            .count {
                display: inline-block;
                margin-right: 10px;
                font-size: 32px;
                font-weight: normal;
                font-stretch: normal;
                @include overflow_text;
            }

        }

        .icon_area {
            display: flex;
            align-items: center;
            height: 100%;
            min-height: 56px;

            .remove_item {
                width: 92px;
                height: 50px;
                border-radius: 10px;
                border: solid 1px #fbc4c4;
                font-size: 26px;
                text-align: center;
                font-weight: normal;
                font-stretch: normal;
                line-height: 50px;
                letter-spacing: 0px;
                color: #ec5260;
            }
        }
    }
}


.user_choose_row {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 32px;
    height: 109px;
    box-sizing: border-box;

    .avatar {
        margin-left: 0px;
        width: 56px;
        height: 56px;
        margin-right: 20px;
        border-radius: 100%;
        background-color: #ccc;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .row_right {
        flex: 1;
        display: flex;
        align-items: center;
        height: 100%;
        margin-left: 22px;
        justify-content: space-between;
        border-bottom: 1px solid #e3e3e3;
        box-sizing: border-box;

        .name {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            padding-top: 6px;

            .userName,
            .userId {
                display: inline-block;
                margin-right: 10px;
                font-size: 32px;
                font-weight: normal;
                font-stretch: normal;
                // line-height: 32px;
                @include overflow_text;
            }

            .userId {
                color: #999999;
            }

            .identity {
                flex: 100%;
                margin-top: 3px;
                height: 30px;

                .identity_item {
                    display: inline-block;
                    padding: 0 5px;
                    font-size: 22px;
                    font-weight: normal;
                    font-stretch: normal;
                    line-height: 30px;
                    letter-spacing: 0px;
                    color: #8088f8;
                    background-color: #f2f3ff;
                }
            }

        }

    }
}

.group_row:nth-of-type(1) {
    .row_right {
        border-top: 1px solid #e5e5e5;
    }
}

.user_choose_row:nth-of-type(1) {
    .row_right {
        border-top: 1px solid #e5e5e5;
    }
}

.concat_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;

    .concat_row_left {
        width: 72px;
        height: 72px;
        margin-right: 20px;
    }

    .concat_row_text {
        flex: 1;
        font-size: 32px;
        font-weight: normal;
        font-stretch: normal;
        line-height: 54px;
        letter-spacing: 0px;
        color: #000000;
    }

    .concat_row_right {
        position: relative;
        width: 72px;
        height: 72px;

        .arrow_right {
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateX(-50%);
            width: 12px;
            height: 21px;
        }
    }
}